﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebClientPlatform.Models
{
    public class ConnectionModel
    {

        /// <summary>
        /// 文本字符串
        /// </summary>
        [Display(Name = "Source")]
        [Required(ErrorMessage = "The Source field is required.")]
        public string Text { get; set; }


        /// <summary>
        /// 加密\解密后文本字符串
        /// </summary>
        [Display(Name = "Result")]
        public string ResultText { get; set; }



        /// <summary>
        /// 加密
        /// </summary>
        [Display(Name = "encrypt")]
        public bool IsEncrypt { get; set; }

    }
}